package com.lsk.order.service.Impl;


import com.alibaba.csp.sentinel.annotation.SentinelResource;
import com.lsk.model.Bean.Order;
import com.lsk.order.service.OrderService;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl  implements OrderService {

    @Override
    @SentinelResource("getOrder")
    public Order getOrder(Long OrderId, Long UserId) {
        Order order = new Order();
        order.setOrderId(OrderId);
        order.setUserId(UserId);
        order.setProductId(OrderId);
        return order;
    }
}
